package com.luo.chengrui.module.sa.controller.admin.datapermission.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 数据权限明细 Excel 导出 Request VO，参数和 DataPermissionDetailPageReqVO 是一致的")
@Data
public class DataPermissionDetailExportReqVO {

    @Schema(description = "人员岗位ID", example = "6323")
    private String personMemberId;

    @Schema(description = "权限表名", example = "赵六")
    private String tableName;

    @Schema(description = "权限项编码")
    private String itemCode;

    @Schema(description = "数据ID")
    private String dataValue;

    @Schema(description = "状态 0有效，1无效", example = "1")
    private Integer status;

    @Schema(description = "乐观锁")
    private Long version;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
